﻿using System;
using Basmus.Values.Attributive;

namespace Basmus.Values.Web
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    public class RouteAttribute : SchemeAttribute
    {
        public string Url { get; private set; }

        public RouteAttribute(string url, string key)
            : base(key)
        {
            Url = url;
        }

        public RouteAttribute(string url)
        {
            Url = url;
        }
    }
}